Skip to content

Keep nested doctor repairs opt-in for current-target runs#298

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/scope-gx-doctor-current-to-current-repo-2026-04-22-13-13
Apr 22, 2026
Merged

Keep nested doctor repairs opt-in for current-target runs#298
NagyVikt merged 1 commit intomainfrom
agent/codex/scope-gx-doctor-current-to-current-repo-2026-04-22-13-13

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Recursive doctor now defaults to traversing nested repos, but targeted repair needs a short alias that stays on the selected repo. This wires --current through the existing single-repo path, updates the recursive hint text, adds a regression that keeps a nested repo broken during scoped runs, and backfills the matching OpenSpec change.

Constraint: Recursive doctor must stay the default behavior for parent repo repairs

Rejected: Add a shared --current traversal flag for setup and other commands | would widen CLI semantics beyond this doctor follow-up

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: Keep --current doctor-only unless another command gets explicit OpenSpec coverage for the alias

Tested: node --check bin/multiagent-safety.js; node --test test/doctor.test.js; openspec validate doctor-current-single-repo-alias --type change --strict; openspec validate --specs

Not-tested: Manual run against a live nested repo outside the test harness
@NagyVikt NagyVikt merged commit c14c63c into main Apr 22, 2026
@NagyVikt NagyVikt deleted the agent/codex/scope-gx-doctor-current-to-current-repo-2026-04-22-13-13 branch April 22, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant